-
Notifications
You must be signed in to change notification settings - Fork 0
Feature/#19 api response #24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
seojw0124
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
고생하셨습니다!
ant5555
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ERD 맞게 잘 반영된 것 같습니다. 고생하셨습니다.
jm3789
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
고생하셨습니다!
| val userName: String, | ||
| val userProfileUrl: String, | ||
| val content: String, | ||
| val createAt: LocalDateTime, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
createdAt 오타입니다!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
확인했습니다!
현재 작업 중인 브랜치에서 같이 수정해서 올리도록 하겠습니다 :)
🔍 변경 사항
BaseResponse정의CommonResponseCode정의🔗 관련 이슈
✅ 체크리스트
리뷰 요청
D-Day 계산은 어디서 할 것인지?
오늘 팀 회의에서 깜빡하고 말씀을 못 드렸던 부분이 있어서 남깁니다!

저희 다가오는 초대나 초대장 리스트 등에서 D-Day를 보여주는 기능이 있습니다.
이 부분을 서버에서 계산해서 내려줄 것인지, 클라이언트에서 계산할 것인지를 정하면 좋을 것 같습니다!
현재는 Response에 D-Day 필드까지 넣어놓은 상태인데,
정해지는 방향에 따라서 변경하도록 하겠습니다.
Entity 분리를 하는 것이 좋을지?
현재는 하위 Entity를 분리하지 않고 부모 Entity 밑에 선언해뒀습니다. (GuestBook 하위에 GuestBookVideo 등)
이 부분을 외부 파일로 분리하는 것이 좋을지 현재 형태도 괜찮을지 의견 주시면 감사하겠습니다.
리스트형 필드에 대한 대응
필드에 리스트형식으로 데이터가 들어가야 하는 필드가 있습니다.
MySQL에서 5.7 버전부터 JSON 형식으로 저장이 가능한 것으로 알고 있는데,
지금 형태 (리스트 -> 문자열 -> 문자열로 저장 -> 문자열 불러옴 -> 리스트로 변환)를 유지하는 것이 좋을지
JSON 형태로 저장하는 것이 좋을지 의견을 주시면 감사하겠습니다.